package com.jiangjiang.eshop.finance.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName PurchaseSettlementOrderItemE
 * @Description TODO
 * @Author jhw
 * @Date 2021/9/15 23:53
 * @Version 1.0
 **/
@Data
@TableName("finance_purchase_settlement_order_item")
public class PurchaseSettlementOrderItem {
    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 采购结算单id
     */
    @TableField("purchase_settlement_order_id")
    private Long purchaseSettlementOrderId;
    /**
     * 商品sku id
     */
    @TableField("goods_sku_id")
    private Long goodsSkuId;
    /**
     * 商品sku的采购数量
     */
    @TableField("purchase_count")
    private Long purchaseCount;
    /**
     * 商品sku的采购价格
     */
    @TableField("purchase_price")
    private Double purchasePrice;
    /**
     * 商品sku到货后质检出来的合格商品数量
     */
    @TableField("qualified_count")
    private Long qualifiedCount;
    /**
     * 商品sku实际到货的数量
     */
    @TableField("arrival_count")
    private Long arrivalCount;
    /**
     * 采购入库单条目的创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
     * 采购入库单条目的修改时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
